package moveTester;

import java.awt.Rectangle;

public class moveTester {

	public static void main(String[] args) 
	{
		//Creates a rectangle named box.
		Rectangle box = new Rectangle(5, 10, 20, 30);
		
		//Move the Rectangle
		box.translate(15, 25);
		
		//Print information about the moved rectangle
		System.out.print("x: ");
		System.out.println(box.getX());
		System.out.println("Expected: 20");
		
		System.out.print("y: ");
		System.out.println(box.getY());
		System.out.println("Expected: 35");
		

	}

}
